Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PB-5815: clean image secrets during data export and resource export cleanup. #345

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

sgajawada-px
Copy link
Contributor

RCA
After taking a nfs volume backup and resource backup we were not cleaning up the image-secret-jobname
causing increase in the resource count in the next backups.

Solution implemented
dataExportCR reconciler cleanup should be updated to delete the secret even if the transferID is present
resourceExportCR reconciler cleanup should be updated to delete the secret if the transferID is present.

What this PR does / why we need it:
To clean the image secret resource during cleanup of data export and resource export resources

Which issue(s) this PR fixes (optional)
Closes #PB-5815

Special notes for your reviewer:
Screenshot from 2024-02-22 17-24-53
Screenshot from 2024-02-22 17-28-53

Copy link

OSS Scan Results:

Title Severity Package Name CVEs Fix version Introduced
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/objectstore@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore/google@#15cc00444a69', 'gocloud.dev/blob/[email protected]', 'cloud.google.com/go/iam/credentials/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore/google@#15cc00444a69', 'gocloud.dev/blob/[email protected]', 'cloud.google.com/go/iam/credentials/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore/google@#15cc00444a69', 'gocloud.dev/blob/[email protected]', 'cloud.google.com/go/iam/credentials/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/libopenstorage/openstorage-sdk-clients/sdk/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/libopenstorage/openstorage-sdk-clients/sdk/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/snapshotter@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore/google@#15cc00444a69', 'gocloud.dev/blob/[email protected]', 'cloud.google.com/go/iam/credentials/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/objectstore/google@#15cc00444a69', 'gocloud.dev/blob/[email protected]', 'cloud.google.com/go/iam/credentials/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/libopenstorage/openstorage-sdk-clients/sdk/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/libopenstorage/openstorage-sdk-clients/sdk/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/libopenstorage/openstorage-sdk-clients/sdk/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/portworx/pxc/pkg/[email protected]', 'github.com/libopenstorage/openstorage-sdk-clients/sdk/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/v2/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/internal/[email protected]', 'github.com/googleapis/gax-go/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']
Stack-based Buffer Overflow medium google.golang.org/protobuf/encoding/protojson [] ['1.32.0'] ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/[email protected]', 'github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta@#f11817397a1b', 'google.golang.org/api/compute/[email protected]', 'google.golang.org/api/transport/[email protected]', 'google.golang.org/api/[email protected]', 'google.golang.org/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'google.golang.org/grpc/internal/[email protected]', 'github.com/golang/protobuf/[email protected]', 'google.golang.org/protobuf/encoding/[email protected]']

Total issues: 47

Copy link

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#15cc00444a69', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/k8sutils@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/version@#15cc00444a69', 'github.com/hashicorp/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/platform/rancher@#15cc00444a69', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/platform/rancher@#15cc00444a69', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#15cc00444a69', 'github.com/libopenstorage/stork/pkg/platform/rancher@#15cc00444a69', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']

Total License Issues: 19

Copy link
Collaborator

@shkumari-px shkumari-px left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Can we check this with the test cases which validates total resource count

Copy link
Collaborator

@kgarg-px kgarg-px left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@lalat-das lalat-das left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JFYI please remember to cherry-pick this commit to kdmp release branch(1.2.11 guess) and vendor to release-24.1.0 stork branch.

@sgajawada-px sgajawada-px merged commit 0a603a5 into master Feb 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants